package com.luzhikun.java1;

/**
 * @author shkstart
 * @create 2021-03-03 22:34
 */
public class Phycity {
    private String name;
    public int age;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Phycity(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Phycity() {
    }

    public String nation(String name) {
        System.out.println("我的名字是" + name);
        return name;
    }

    private void beath() {
        System.out.println("生物呼吸");
    }
}
